// 模型相关接口
import axios from '@/api/request/request'

// 分页查询模型信息
const getModelPage = (option: any) => {
  return axios.post('/museum/model/getModelPage', {
    ...option
  })
}

// 添加模型信息
const addModel = (option: any) => {
  return axios.post('/museum/model/addModel', {
    ...option
  })
}

// 修改模型信息
const updateModel = (option: any) => {
  return axios.post('/museum/model/updateModel', {
    ...option
  })
}

// 删除模型信息
const deleteModel = (option: any) => {
  return axios.post('/museum/model/deleteModel', {
    ...option
  })
}

// 根据ID查询模型信息
const getModelInfo = (option: any) => {
  return axios.post('/museum/model/getModelInfo', {
    ...option
  })
}

// 查询模型信息列表
const getModelList = (option: any) => {
  return axios.post('/museum/model/getModelList', {
    ...option
  })
}

export { getModelPage, addModel, updateModel, deleteModel, getModelInfo, getModelList }
